﻿@{
    ViewData["Title"] = "标准角色表(树)创建界面";
    Layout = null;
}
 <input type="hidden" id="uuid" name="id">


<div data-toggle="topjui-layout" data-options="fit:true">
    <div data-options="region:'center',title:'',fit:true,border:false,bodyCls:'border_right_bottom'">
        <div data-toggle="topjui-tabs" data-options="fit:true,border:false">
            <div title="@L("基本信息")" data-options="iconCls:'fa fa-th'">
                <div class="topjui-fluid">
                    <fieldset>
                        <legend>@L("基本信息")</legend>
                    </fieldset>

                 <div class="topjui-row" id="divMyFormParentGUID">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("父级")</label>
                            <div class="topjui-input-block">
                                <input type="text" name="parentGUID" id="myFormParentGUID" data-toggle="topjui-combotreegrid"
                                       data-options="required:false,
                                   columns:[[
                                       {field:'text',title:'@L("名称")',width:100}
                                   ]],
                                    url:'/api/services/app/TreeGrid/GetTreeGird?viewName=View_FW_StandardRole&nodeName=StandardRoleName',
                                   expandUrl:'/api/services/app/TreeGrid/GetTreeGird?pid={id}&viewName=View_FW_StandardRole&nodeName=StandardRoleName',
                                   getFatherIdsUrl:'/api/services/app/TreeGrid/GetFatherIds?id={id}&viewName=View_FW_StandardRole&nodeName=StandardRoleName'
                                   ">
                            </div>
                        </div>
                   </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label"> @L("标准角色类型")</label>
                            <div class="topjui-input-block">
                                <input type="hidden" id="myFormstandardRoleTypeName" name="standardRoleTypeName" />
                                <input id="myFormStandardRoleTypeGUID" type="text" name="standardRoleTypeGUID" data-toggle="topjui-combobox" 
                                       data-options="required:false,
                                editable: true,
                                valueField:'id',
                                textField:'text',
                                loader: $.loader.comboxLoader,
                                mode: 'remote',
                                queryParams:
                                {
                                    viewName:'View_FW_standardRoleType',
                                    comBoxValueName:'standardRoleTypeName', 
                                    initQuery:$('#myFormstandardRoleTypeName').val()
                                }">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("标准角色名称")</label>
                            <div class="topjui-input-block">
                                <input id="myFormStandardRoleName" type="text" name="standardRoleName" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("标准角色编码")</label>
                            <div class="topjui-input-block">
                                <input id="myFormStandardRoleCode" type="text" name="standardRoleCode" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("说明")</label>
                            <div class="topjui-input-block">
                                <input id="myFormStandardRoleComments" type="text" name="standardRoleComments" data-toggle="topjui-textarea" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("树形的排序编码")</label>
                            <div class="topjui-input-block">
                                <input id="myFormOrderCode" type="text" name="orderCode" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

                    <div class="topjui-row">
                        <div class="topjui-col-sm12">
                            <label class="topjui-form-label">@L("对应的图标")</label>
                            <div class="topjui-input-block">
                                <input id="myFormIcon" type="text" name="icon" data-toggle="topjui-textbox" data-options="required:false">
                            </div>
                        </div>
                    </div>

             
                </div>
            </div>
            @*<div title="@L("选填信息")" data-options="iconCls:'fa fa-th'">
                    <div class="topjui-fluid">
                        <fieldset>
                            <legend>@L("扩展消息")</legend>
                        </fieldset>
                    </div>
                </div>*@
        </div>
    </div>
</div>

